<?php

require_once('include/include_base.php');

	
// get Topics sort by creation date 
$topic = new Topic();
$topicsTemp = $topic->getTopicsByCreationDate();
$topics = array();
foreach($topicsTemp as $topicVO) {
	$topicVO->linkifyDescription();
	$topics[] = $topicVO;
}


$smarty->assign("topics", $topics);

$smarty->assign("title", "Home");
$smarty->assign("page", "home");
$smarty->display('master.tpl.html');